package com.efei.jdbc.annotation;

import com.efei.jdbc.config.DefaultQueryDaoFactoryBean;
import com.efei.jdbc.config.QueryDaoBeanDefinitionRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(QueryDaoBeanDefinitionRegistrar.class)
public @interface EnableQuery {
    Class<?> queryDaoFactoryBeanClass() default DefaultQueryDaoFactoryBean.class;
}
